<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <title></title>
    <link
      href="https://cdn.staticfile.org/antd/3.26.9/antd.css"
      rel="stylesheet"
    />
  </head>

  <body>
    <div ng-app="kit.basic" ng-controller="mainCtrl">
      <div class="container" style="padding: 50px">
        <es-checkbox on-change="handleChange(event)" checked="checked"/>
      </div>
    </div>
    <script src="https://cdn.staticfile.org/angular.js/1.2.28/angular.min.js"></script>
    <script>
      angular
        .module("kit.basic", [])
        .controller("mainCtrl", function ($scope, $timeout) {
          $scope.handleChange = (event)=>{
            console.log(event.target.checked)
          }

          $scope.checked = true;
        });
    </script>
    <script src="../../dist/Essa/Checkbox/Checkbox.js"></script>
  </body>
</html>
